package com.sxpi.zixun.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.pug.generator.anno.PugDoc;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author: 董伟豪
 * @Date: 2022/8/30 12:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AdminPermissionBo implements Serializable {

    @PugDoc(name="主键")
    private Long id;
    @PugDoc(name="菜单名词")
    private String name;
    @PugDoc(name="菜单排序")
    private Integer sorted;
    @PugDoc(name="菜单链接")
    private String path;
    @PugDoc(name="菜单图标")
    private String icon;
    @PugDoc(name="菜单发布")
    private Integer status;
    @PugDoc(name="创建时间")
    private Date createTime;
    @PugDoc(name="更新时间")
    private Date updateTime;
    @PugDoc(name="菜单名称")
    private Long pid;
    @PugDoc(name="路径名称")
    private String pathname;
    @PugDoc(name="删除状态 0未删除 1删除")
    private Integer isdelete;
    @PugDoc(name="1菜单 2 权限")
    private Integer type;
}
